/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.DesignPatterns.behavioral.cor.conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.DesignPatterns.behavioral.cor.EarthHandler;
import za.ac.cput.DesignPatterns.behavioral.cor.MercuryHandler;
import za.ac.cput.DesignPatterns.behavioral.cor.VenusHandler;

/**
 *
 * @author Nashief
 */ 
@Configurable
public class corCOF {
    @Bean 
    public MercuryHandler mercuryHandler(){
    return new MercuryHandler();
    }
    @Bean 
    public VenusHandler venusHandler(){
    return new VenusHandler();
    } 
    @Bean 
    public EarthHandler earthHandler(){
    return new EarthHandler();
    }
}
